package gov.tax.rti.base.security.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 功能模型实体
 * 
 * @since 2013年11月6日
 * @author jimmy.li
 * @version 1.00 2013年11月6日
 */
@Entity
@Table(name = "RTI_SJMX")
public class Sjmx extends AbstractBaseModel{

	/**
	 * 
	 */
	private static final long serialVersionUID = -4759437937834610600L;

	@Id
	@GeneratedValue(generator = "guid")
	@GenericGenerator(name = "guid", strategy = "guid")
	@Column(name = "SJMX_DM", unique = true, nullable = false, length = 32)
	public String getSjmxDm() {
		return super.getDm();
	}
	
	public void setSjmxDm(String sjmxDm) {
		super.setDm(sjmxDm);
	}
	
	@Column(name = "SJMX_BM", nullable = false, length = 32)
	public String getSjmxBm() {
		return super.getBm();
	}
	public void setSjmxBm(String sjmxBm) {
		super.setBm(sjmxBm);
	}
	
	@Column(name = "SJMX_MC", nullable = false, length = 96)
	public String getSjmxMc() {
		return super.getMc();
	}
	public void setSjmxMc(String sjmxMc) {
		super.setMc(sjmxMc);
	}
	
	@Column(name = "SJMX_SY", length = 16)
	public String getSjmxSy() {
		return super.getSy();
	}
	public void setSjmxSy(String sjmxSy) {
		super.setSy(sjmxSy);
	}
	
	@Column(name = "SJMX_SX", nullable = false, length = 8)
	public String getSjmxSx() {
		return super.getSx();
	}
	
	public void setSjmxSx(String sjmxSx) {
		super.setSx(sjmxSx);
	}
}
